package com.ants.modules.ArticleManage.entity;

import com.ants.common.annotation.Dict;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * TODO
 * Author Chen
 * Date   2021/9/7 18:44
 */
@Data
@TableName(value = "article_content")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "文章管理对象", description = "文章管理对象")
public class ArticleContent implements Serializable {
    /**
     * ID
     */
    @TableId
    private String id;
    /**
     * 文章ID
     */
    private String mainId;

    /**
     * 内容md
     */
    private String content;
    /**
     * 内容html
     */
    private String html;

}
